package cn.notcoder.dtp.sdk.dynamicthreadpoolspringbootstarter.config.properties;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 线程池注册中心 Nacos 配置
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@ConfigurationProperties("dynamic-thread-pool.registry.nacos" )
public class DynamicThreadPoolRegistryNacosAutoProperties {

    /** Nacos地址 */
    private String host;
    /** Nacos端口，默认8848 */
    private Integer port = 8848;
    /** Nacos 用户名 */
    private String username;
    /** Nacos 密码 */
    private String password;

}
